home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <stdlib.h>
- #include <winb.h>
- #include <te.h>
- #include <fntb.h>
- #include <gui.h>
-
- extern int windowId ;
- extern int MJ_BASEOBJ ;
- extern int xPointMessageId ;
- extern int xMessageId ;
- extern int yPointMessageId ;
- extern int yMessageId ;
- extern int exitFunc() ;
-
- #define ALIGN 4
- #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
-
- /* MMI_init 用データ */
-
- /* ヘッダ */
-
- MMIINIT initDataMWINDOW = { "MmiInit", 6, 0 } ;
-
- /* windowId */
-
- static MMIPACKET d001 = { &windowId,
- &MJ_BASEOBJ,
- &MJ_WINDOWL40,
- OFFSET(WINDOWL40),
- MS_NONE
- } ;
- static WINDOWL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_TITLEL40,
- 558, 428, 639, 479, 8,15, 9,
- MS_SRECTL40 | MS_FRAMEL40,
- NULL, 0, 0,
- 1, 17, 0, 0,
- 109, 100, 640, 480,
- 0,
- "Point",
- } ;
-
- /* xPointMessageId */
-
- static MMIPACKET d002 = { &xPointMessageId,
- &windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d002d = { MS_CENTERL40 | MS_DSPONLYL40,
- 575, 444, 590, 459, 8,15, 8,
- MS_NONEL40,
- "x:",
- 2, 16, 16,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* xMessageId */
-
- static MMIPACKET d003 = { &xMessageId,
- &windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d003d = { MS_CENTERL40 | MS_DSPONLYL40,
- 591, 445, 622, 460, 8,15, 8,
- MS_OPAQUEL40,
- "0000",
- 2, 16, 16,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* yPointMessageId */
-
- static MMIPACKET d004 = { &yPointMessageId,
- &windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d004d = { MS_CENTERL40 | MS_DSPONLYL40,
- 575, 461, 590, 476, 8,15, 8,
- MS_NONEL40,
- "y:",
- 2, 16, 16,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* yMessageId */
-
- static MMIPACKET d005 = { &yMessageId,
- &windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d005d = { MS_CENTERL40 | MS_DSPONLYL40,
- 591, 461, 622, 476, 8,15, 8,
- MS_OPAQUEL40,
- "0000",
- 2, 16, 16,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* NULL */
-
- static MMIPACKET d006 = { NULL,
- &windowId,
- &MJ_ICONL40,
- 0,
- MS_NONE
- } ;
- static ICONL40 d006d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
- 560, 430, 571, 441, 8,15, 8,
- MS_NONEL40,
- exitFunc,
- 0x0000, 285
- } ;
-
-